package Ojb;

public class Employee {
    private String name;
    private int month;
    public Employee(){}
    public Employee(String name,int month){
        this.name = name;
        this.month = month;
    }
    public double getSalary(int month){
        if (month == this.month){
            return 3000+100;
        }else {
            return 3000;
        }
    }
}
